//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package test.StringPractise;

public class StringPractiseOne {
    private String name;
    private String password;
    String[][] user = new String[][]{{"GQ", "125361abc"}, {"kk", "123456ABC"}};

    public StringPractiseOne() {
    }

    public StringPractiseOne(String name, String password) {
        this.name = name;
        this.password = password;
    }

    public boolean login(String name, String password) {
        String[][] var3 = this.user;
        int var4 = var3.length;
        byte var5 = 0;
        if (var5 >= var4) {
            return false;
        } else {
            String[] strings = var3[var5];
            return strings[0].equals(name) && strings[1].equals(password);
        }
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String toString() {
        return "StringPractiseOne{name = " + this.name + ", password = " + this.password + "}";
    }
}
